from UIAutoTest.unittest_crud.ThreeCJG.FindElement import FindElement


# 元素操作层
class ElementHandle(FindElement):
    def __init__(self):
        FindElement.__init__(self)

    def get_a(self):
        self.find_element_a().click()

    def get_title(self, title):
        self.find_element_title().send_keys(title)

    def get_jump_url(self, url):
        self.find_element_jump_url().send_keys(url)

    def get_div4(self):
        self.find_element_div4().click()

    def get_div5(self):
        self.find_element_div5().click()

    def get_content(self, content):
        self.find_element_content().send_keys(content)
